﻿//
// Generováno programem xsd.exe, upraveno.
//

using System.Collections.Generic;

namespace Brjnk.GpxExplorer.Data.GPX.SerializationClasses
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    [System.Xml.Serialization.XmlRootAttribute(Namespace = "http://www.groundspeak.com/cache/1/1", IsNullable = false)]
    public partial class cache
    {
        public cache()
        {
            logs = new List<cacheLog>();
            name = string.Empty;
        }

        /// <remarks/>
        public string name;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public System.Nullable<System.DateTime> lastUpdated;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool lastUpdatedSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public System.Nullable<System.DateTime> exported;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool exportedSpecified;

        /// <remarks/>
        public string placed_by;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public cacheOwner owner;

        /// <remarks/>
        public string type;

        /// <remarks/>
        public string container;

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("attribute")]
        public List<cacheAttribute> attributes;

        /// <remarks/>
        public double difficulty;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool difficultySpecified;

        /// <remarks/>
        public double terrain;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool terrainSpecified;

        /// <remarks/>
        public string country;

        /// <remarks/>
        public string state;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public cacheShort_description short_description;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public cacheLong_description long_description;

        /// <remarks/>
        public string encoded_hints;

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("log", IsNullable = false)]
        public List<cacheLog> logs;

        /// <remarks/>
        [System.Xml.Serialization.XmlArrayItemAttribute("travelbug", IsNullable = false)]
        public List<cacheTravelbug> travelbugs;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public long id;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool idSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string guid;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string available = "True";

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string archived = "False";
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheOwner
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public long id;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool idSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string guid;

        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public string Value;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheAttribute
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public long id;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool idSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public sbyte inc;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool incSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()]
        public string Value;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheShort_description
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string html = "True";

        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()] //???
        public string Value;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheLong_description
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string html = "True";

        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()] //???
        public string Value;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheLog
    {
        /// <remarks/>
        public System.DateTime date;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool dateSpecified;

        /// <remarks/>
        public string type;

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public cacheLogFinder finder = new cacheLogFinder();

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)]
        public cacheLogText text = new cacheLogText();

        /// <remarks/>
        public cacheLogLog_wpt log_wpt = new cacheLogLog_wpt();

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public long id;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool idSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string guid;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheLogFinder
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public long id;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool idSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string guid;

        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()] //???
        public string Value;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheLogText
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string encoded;

        /// <remarks/>
        [System.Xml.Serialization.XmlTextAttribute()] //???
        public string Value;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheLogLog_wpt
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public decimal lat;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool latSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public decimal lon;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool lonSpecified;
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.groundspeak.com/cache/1/1")]
    public partial class cacheTravelbug
    {
        /// <remarks/>
        public string name;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public long id;

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool idSpecified;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string guid;

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute()]
        public string @ref;
    }
}